package com.macro.mall.model;

import java.time.LocalDateTime;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 系统参数表 Created by macro on 2018/4/26.
 */
@Data
public class BmsConfig {

    @ApiModelProperty("主键")
    private Long id;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("编码")
    private String code;

    @ApiModelProperty("值")
    private String value;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("归类类型")
    private String type;

    @ApiModelProperty("是否系统参数")
    private Integer isSystem;

    @ApiModelProperty("是否启用")
    private Integer isEnabled;

    @ApiModelProperty("创建人")
    private Long createUser;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("更新人")
    private Long updateUser;

    @ApiModelProperty("更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("删除表示 0-未删除；1：删除；默认0'")
    private Integer isDelete;

    @Override
    public String toString() {
        return "BmsConfig{" + "id=" + id + ", name='" + name + '\'' + ", code='" + code + '\'' + ", value='" + value
                + '\'' + ", sort=" + sort + ", type='" + type + '\'' + ", isSystem=" + isSystem + ", isEnabled="
                + isEnabled + ", createUser=" + createUser + ", createTime=" + createTime + ", updateUser=" + updateUser
                + ", updateTime=" + updateTime + ", remark='" + remark + '\'' + ", isDelete=" + isDelete + '}';
    }

}
